{% extends "base.html" %}
{% block title %}Log-in{% endblock %}
{% block content %}
    <h1>登录</h1>
    <p>请登录。如你还没有账户可以在这里<a href="{% url "register" %}">注册</a>。</p>
    <form action="." method="post">
        {{ form.as_p }}
        {% csrf_token %}
        <p><input type="submit" value="登录"></p>
    </form>
{% endblock %}